/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package miprimeraclase;

/**
 *
 * @author profesor
 */
public class Alumnos {
    String nombre;
    String nif;
    //Campos de notas
    private Float nMatematicas;
    private Float nLengua;
    private Float nIngles;
    public Float nMedia;
    
    void guardarNotas(Float notaMatematicas, Float notaLengua, Float notaIngles)
    {
        nMatematicas = notaMatematicas;
        nLengua = notaLengua;
        nIngles = notaIngles;
    }
    
    void calcularNotaMedia() {
       nMedia = (nMatematicas + nLengua + nIngles)/0;
    }
}
